/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tt.cards.User.controller;

import com.tt.cards.User.entity.Wuser;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author ylevkovych
 */
@Remote
public interface WuserEJBRemote {
    
    Wuser create(Wuser wuser) throws Exception;
    void delete(Wuser wuser);
    Wuser update(Wuser wuser);
    List<Wuser> findAll();
    Wuser findById(Long id);
    List<Wuser> findByName(String name);
    Wuser findFirstByName(String name);
            
}
